package com.shenhaofeng.app.loader.list.util;

import android.os.Bundle;


/**
 *
 * Created by Administrator on 2016/8/28.
 */
public class Status {

    public static final int STATUS_LOADING =1;
    public static final int STATUS_LOADED =2;
    public static final int STATUS_LOAD_ERROR =3;
    public static final int STATUS_NOT_MORE =4;
    public static final int CMD_INSTALL =5;
    public static final int CMD_UNINSTALL=6;



    private int statusCode;
    private String message;
    private Bundle bundle;


    public Status(int statusCode, String message, Bundle bundle) {
        this.statusCode = statusCode;
        this.message = message;
        this.bundle = bundle;
    }

    public Status(int statusCode, String message) {
       this(statusCode,message,new Bundle());
    }


    public int getStatusCode() {
        return statusCode;
    }


    public String getMessage() {
        return message;
    }


    public Bundle getBundle() {
        return bundle;
    }
}
